﻿using System.Xml.Serialization;

namespace WebGodService
{
  public class ResponseData
  {
    [XmlElement(IsNullable = false)]
    public int ParentAge { get; set; }
    [XmlElement(IsNullable = false)]
    public int ParentChildCount { get; set; }
    [XmlElement(IsNullable = false)]
    public string ParentName { get; set; }
    [XmlElement(IsNullable = false)]
    public double ParentMoney { get; set; }

    [XmlElement(IsNullable = false)]
    public int ChildAge { get; set; }
    [XmlElement(IsNullable = false)]
    public string ChildName { get; set; }
    [XmlElement(IsNullable = false)]
    public string ChildSurame { get; set; }
    [XmlElement(IsNullable = false)]
    public double ChildAverageMark { get; set; }
    [XmlElement(IsNullable = false)]
    public Sex ChildSex { get; set; }

    public enum Sex
    {
      Male,
      Female
    }

  }
}
